<?php

namespace App\Models\fund;

use App\Models\base\traits\HasOwner;
use Illuminate\Database\Eloquent\Model;


/**
 * App\Models\fund\Cash
 *
 * @property int $id
 * @property int $user_id
 * @property float $money
 * @property int $type 1 =>‘微信’ ,2 => '支付宝' , 3=>‘银行卡’
 * @property string|null $remark
 * @property string|null $name
 * @property string|null $account
 * @property int $status 0 => '驳回', 1 => '通过', 2 => '待审核'
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \App\Models\User $user
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash owner($userId)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereAccount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\fund\Cash whereUserId($value)
 * @mixin \Eloquent
 */
class Cash extends Model
{
    use HasOwner;


    protected $fillable = [
        'user_id',
        'money',
        'status',
        'type',
        'remark',
        'name',
        'account'
    ];



}
